//1. 引入模块
import Vue from 'vue'
import Vuex from 'vuex'

import home from './module/home.js'

//2.注册模块
Vue.use(Vuex)

//3. 创建store实例对象
const store = new Vuex.Store({
	modules:{home}
})

//4. 导出store
export default store